import 'package:flutter/material.dart';
import 'package:ui_demo/market/stock_list/stock_list_page.dart';
Future<void> main() async {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return  MaterialApp(
      home: MyHomePage( 'ListViewTest') ,
    );
  }
}


class MyHomePage extends StatefulWidget {
  final String title;
  const MyHomePage(this.title,{Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: StockListPage(),
    );
  }
}


